package com.mdx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mdx.bean.ControlGoodsBean;

public interface IControlGoodsService extends IService<ControlGoodsBean> {
    /**
     * 添加药剂或器械
     */
    void addGoods(ControlGoodsBean controlGoodsBean);

    /**
     * 动态条件查询
     */
    IPage<ControlGoodsBean> findByItem(int pageNO,int pageSize,String cgName,String cgType,String goodsType);
}
